/*
*
* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2011-2018 ARM or its affiliates
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2.
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#if !defined(__SC4238_SEQ_H__)
#define __SC4238_SEQ_H__

static acam_reg_t linear_2688_1520_30fps_675Mbps_2lane_10bits[] = {
    {0x0103, 0x01, 0xFF, 1},
    {0x0100, 0x00, 0xFF, 1},
    {0x36e9, 0x80, 0xFF, 1},
    {0x36f9, 0x80, 0xFF, 1},
    {0x3018, 0x33, 0xFF, 1},
    {0x301f, 0x32, 0xFF, 1},
    {0x3031, 0x0a, 0xFF, 1},
    {0x3037, 0x20, 0xFF, 1},
    {0x3038, 0x22, 0xFF, 1},
    {0x3106, 0x81, 0xFF, 1},
    {0x3200, 0x00, 0xFF, 1},
    {0x3201, 0x00, 0xFF, 1},
    {0x3202, 0x00, 0xFF, 1},
    {0x3203, 0x00, 0xFF, 1},
    {0x3204, 0x0a, 0xFF, 1},
    {0x3205, 0x87, 0xFF, 1},
    {0x3206, 0x05, 0xFF, 1},
    {0x3207, 0xf7, 0xFF, 1},
    {0x3208, 0x0a, 0xFF, 1},
    {0x3209, 0x80, 0xFF, 1},
    {0x320a, 0x05, 0xFF, 1},
    {0x320b, 0xf0, 0xFF, 1},
    {0x320c, 0x05, 0xFF, 1},
    {0x320d, 0xa0, 0xFF, 1},
    {0x320e, 0x06, 0xFF, 1},
    {0x320f, 0x1a, 0xFF, 1},
    {0x3210, 0x00, 0xFF, 1},
    {0x3211, 0x04, 0xFF, 1},
    {0x3212, 0x00, 0xFF, 1},
    {0x3213, 0x04, 0xFF, 1},
    {0x3253, 0x06, 0xFF, 1},
    {0x3273, 0x01, 0xFF, 1},
    {0x3301, 0x30, 0xFF, 1},
    {0x3304, 0x30, 0xFF, 1},
    {0x3306, 0x70, 0xFF, 1},
    {0x3308, 0x10, 0xFF, 1},
    {0x3309, 0x50, 0xFF, 1},
    {0x330b, 0xe0, 0xFF, 1},
    {0x330e, 0x14, 0xFF, 1},
    {0x3314, 0x94, 0xFF, 1},
    {0x331e, 0x29, 0xFF, 1},
    {0x331f, 0x49, 0xFF, 1},
    {0x3320, 0x09, 0xFF, 1},
    {0x334c, 0x10, 0xFF, 1},
    {0x3352, 0x02, 0xFF, 1},
    {0x3356, 0x1f, 0xFF, 1},
    {0x3363, 0x00, 0xFF, 1},
    {0x3364, 0x1e, 0xFF, 1},
    {0x3366, 0x92, 0xFF, 1},
    {0x336d, 0x01, 0xFF, 1},
    {0x337a, 0x08, 0xFF, 1},
    {0x337b, 0x10, 0xFF, 1},
    {0x337f, 0x2d, 0xFF, 1},
    {0x3390, 0x08, 0xFF, 1},
    {0x3391, 0x08, 0xFF, 1},
    {0x3392, 0x08, 0xFF, 1},
    {0x3393, 0x30, 0xFF, 1},
    {0x3394, 0x30, 0xFF, 1},
    {0x3395, 0x30, 0xFF, 1},
    {0x3399, 0xff, 0xFF, 1},
    {0x33a3, 0x0c, 0xFF, 1},
    {0x33e0, 0xa0, 0xFF, 1},
    {0x33e1, 0x08, 0xFF, 1},
    {0x33e2, 0x00, 0xFF, 1},
    {0x33e3, 0x10, 0xFF, 1},
    {0x33e4, 0x10, 0xFF, 1},
    {0x33e5, 0x00, 0xFF, 1},
    {0x33e6, 0x10, 0xFF, 1},
    {0x33e7, 0x10, 0xFF, 1},
    {0x33e8, 0x00, 0xFF, 1},
    {0x33e9, 0x10, 0xFF, 1},
    {0x33ea, 0x16, 0xFF, 1},
    {0x33eb, 0x00, 0xFF, 1},
    {0x33ec, 0x10, 0xFF, 1},
    {0x33ed, 0x18, 0xFF, 1},
    {0x33ee, 0xa0, 0xFF, 1},
    {0x33ef, 0x08, 0xFF, 1},
    {0x33f4, 0x00, 0xFF, 1},
    {0x33f5, 0x10, 0xFF, 1},
    {0x33f6, 0x10, 0xFF, 1},
    {0x33f7, 0x00, 0xFF, 1},
    {0x33f8, 0x10, 0xFF, 1},
    {0x33f9, 0x10, 0xFF, 1},
    {0x33fa, 0x00, 0xFF, 1},
    {0x33fb, 0x10, 0xFF, 1},
    {0x33fc, 0x16, 0xFF, 1},
    {0x33fd, 0x00, 0xFF, 1},
    {0x33fe, 0x10, 0xFF, 1},
    {0x33ff, 0x18, 0xFF, 1},
    {0x360f, 0x05, 0xFF, 1},
    {0x3622, 0xee, 0xFF, 1},
    {0x3630, 0xa8, 0xFF, 1},
    {0x3631, 0x80, 0xFF, 1},
    {0x3633, 0x43, 0xFF, 1},
    {0x3634, 0x34, 0xFF, 1},
    {0x3635, 0x60, 0xFF, 1},
    {0x3636, 0x20, 0xFF, 1},
    {0x3637, 0x11, 0xFF, 1},
    {0x3638, 0x2a, 0xFF, 1},
    {0x363a, 0x80, 0xFF, 1},
    {0x363b, 0x03, 0xFF, 1},
    {0x3641, 0x00, 0xFF, 1},
    {0x366e, 0x04, 0xFF, 1},
    {0x3670, 0x48, 0xFF, 1},
    {0x3671, 0xee, 0xFF, 1},
    {0x3672, 0x0e, 0xFF, 1},
    {0x3673, 0x0e, 0xFF, 1},
    {0x367a, 0x08, 0xFF, 1},
    {0x367b, 0x08, 0xFF, 1},
    {0x3690, 0x43, 0xFF, 1},
    {0x3691, 0x43, 0xFF, 1},
    {0x3692, 0x43, 0xFF, 1},
    {0x3699, 0x80, 0xFF, 1},
    {0x369a, 0x9f, 0xFF, 1},
    {0x369b, 0x9f, 0xFF, 1},
    {0x369c, 0x08, 0xFF, 1},
    {0x369d, 0x08, 0xFF, 1},
    {0x36a2, 0x08, 0xFF, 1},
    {0x36a3, 0x08, 0xFF, 1},
    {0x36e9, 0x51, 0xFF, 1},
    {0x36ea, 0x31, 0xFF, 1},
    {0x36eb, 0x0c, 0xFF, 1},
    {0x36ec, 0x05, 0xFF, 1},
    {0x36ed, 0x24, 0xFF, 1},
    {0x36f9, 0x51, 0xFF, 1},
    {0x36fa, 0x31, 0xFF, 1},
    {0x36fb, 0x09, 0xFF, 1},
    {0x36fc, 0x00, 0xFF, 1},
    {0x36fd, 0x24, 0xFF, 1},
    {0x3902, 0xc5, 0xFF, 1},
    {0x3905, 0xd8, 0xFF, 1},
    {0x3908, 0x11, 0xFF, 1},
    {0x391b, 0x80, 0xFF, 1},
    {0x391c, 0x0f, 0xFF, 1},
    {0x3933, 0x28, 0xFF, 1},
    {0x3934, 0x20, 0xFF, 1},
    {0x3940, 0x6c, 0xFF, 1},
    {0x3942, 0x08, 0xFF, 1},
    {0x3943, 0x28, 0xFF, 1},
    {0x3980, 0x00, 0xFF, 1},
    {0x3981, 0x00, 0xFF, 1},
    {0x3982, 0x00, 0xFF, 1},
    {0x3983, 0x00, 0xFF, 1},
    {0x3984, 0x00, 0xFF, 1},
    {0x3985, 0x00, 0xFF, 1},
    {0x3986, 0x00, 0xFF, 1},
    {0x3987, 0x00, 0xFF, 1},
    {0x3988, 0x00, 0xFF, 1},
    {0x3989, 0x00, 0xFF, 1},
    {0x398a, 0x00, 0xFF, 1},
    {0x398b, 0x04, 0xFF, 1},
    {0x398c, 0x00, 0xFF, 1},
    {0x398d, 0x04, 0xFF, 1},
    {0x398e, 0x00, 0xFF, 1},
    {0x398f, 0x08, 0xFF, 1},
    {0x3990, 0x00, 0xFF, 1},
    {0x3991, 0x10, 0xFF, 1},
    {0x3992, 0x03, 0xFF, 1},
    {0x3993, 0xd8, 0xFF, 1},
    {0x3994, 0x03, 0xFF, 1},
    {0x3995, 0xe0, 0xFF, 1},
    {0x3996, 0x03, 0xFF, 1},
    {0x3997, 0xf0, 0xFF, 1},
    {0x3998, 0x03, 0xFF, 1},
    {0x3999, 0xf8, 0xFF, 1},
    {0x399a, 0x00, 0xFF, 1},
    {0x399b, 0x00, 0xFF, 1},
    {0x399c, 0x00, 0xFF, 1},
    {0x399d, 0x08, 0xFF, 1},
    {0x399e, 0x00, 0xFF, 1},
    {0x399f, 0x10, 0xFF, 1},
    {0x39a0, 0x00, 0xFF, 1},
    {0x39a1, 0x18, 0xFF, 1},
    {0x39a2, 0x00, 0xFF, 1},
    {0x39a3, 0x28, 0xFF, 1},
    {0x39af, 0x58, 0xFF, 1},
    {0x39b5, 0x30, 0xFF, 1},
    {0x39b6, 0x00, 0xFF, 1},
    {0x39b7, 0x34, 0xFF, 1},
    {0x39b8, 0x00, 0xFF, 1},
    {0x39b9, 0x00, 0xFF, 1},
    {0x39ba, 0x34, 0xFF, 1},
    {0x39bb, 0x00, 0xFF, 1},
    {0x39bc, 0x00, 0xFF, 1},
    {0x39bd, 0x00, 0xFF, 1},
    {0x39be, 0x00, 0xFF, 1},
    {0x39bf, 0x00, 0xFF, 1},
    {0x39c0, 0x00, 0xFF, 1},
    {0x39c1, 0x00, 0xFF, 1},
    {0x39c5, 0x21, 0xFF, 1},
    {0x39db, 0x20, 0xFF, 1},
    {0x39dc, 0x00, 0xFF, 1},
    {0x39de, 0x20, 0xFF, 1},
    {0x39df, 0x00, 0xFF, 1},
    {0x39e0, 0x00, 0xFF, 1},
    {0x39e1, 0x00, 0xFF, 1},
    {0x39e2, 0x00, 0xFF, 1},
    {0x39e3, 0x00, 0xFF, 1},
    {0x3e00, 0x00, 0xFF, 1},
    {0x3e01, 0xc2, 0xFF, 1},
    {0x3e02, 0xa0, 0xFF, 1},
    {0x3e03, 0x0b, 0xFF, 1},
    {0x3e06, 0x00, 0xFF, 1},
    {0x3e07, 0x80, 0xFF, 1},
    {0x3e08, 0x03, 0xFF, 1},
    {0x3e09, 0x40, 0xFF, 1},
    {0x3e14, 0xb1, 0xFF, 1},
    {0x3e25, 0x03, 0xFF, 1},
    {0x3e26, 0x40, 0xFF, 1},
    {0x4501, 0xb4, 0xFF, 1},
    {0x4509, 0x20, 0xFF, 1},
    {0x4800, 0x64, 0xFF, 1},
    {0x4837, 0x3b, 0xFF, 1},
    {0x5784, 0x10, 0xFF, 1},
    {0x5785, 0x08, 0xFF, 1},
    {0x5787, 0x06, 0xFF, 1},
    {0x5788, 0x06, 0xFF, 1},
    {0x5789, 0x00, 0xFF, 1},
    {0x578a, 0x06, 0xFF, 1},
    {0x578b, 0x06, 0xFF, 1},
    {0x578c, 0x00, 0xFF, 1},
    {0x5790, 0x10, 0xFF, 1},
    {0x5791, 0x10, 0xFF, 1},
    {0x5792, 0x00, 0xFF, 1},
    {0x5793, 0x10, 0xFF, 1},
    {0x5794, 0x10, 0xFF, 1},
    {0x5795, 0x00, 0xFF, 1},
    {0x57c4, 0x10, 0xFF, 1},
    {0x57c5, 0x08, 0xFF, 1},
    {0x57c7, 0x06, 0xFF, 1},
    {0x57c8, 0x06, 0xFF, 1},
    {0x57c9, 0x00, 0xFF, 1},
    {0x57ca, 0x06, 0xFF, 1},
    {0x57cb, 0x06, 0xFF, 1},
    {0x57cc, 0x00, 0xFF, 1},
    {0x57d0, 0x10, 0xFF, 1},
    {0x57d1, 0x10, 0xFF, 1},
    {0x57d2, 0x00, 0xFF, 1},
    {0x57d3, 0x10, 0xFF, 1},
    {0x57d4, 0x10, 0xFF, 1},
    {0x57d5, 0x00, 0xFF, 1},
    {0x5988, 0x86, 0xFF, 1},
    {0x598e, 0x05, 0xFF, 1},
    {0x598f, 0x80, 0xFF, 1},

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t wdr_2688_1520_30fps_1350Mbps_2lane_10bits[] = {
    {0x0103, 0x01, 0xFF, 1},
    {0x0100, 0x00, 0xFF, 1},
    {0x36e9, 0x80, 0xFF, 1},
    {0x36f9, 0x80, 0xFF, 1},
    {0x3018, 0x32, 0xFF, 1},
    {0x301f, 0x06, 0xFF, 1},
    {0x3031, 0x0a, 0xFF, 1},
    {0x3037, 0x20, 0xFF, 1},
    {0x3038, 0x22, 0xFF, 1},
    {0x3106, 0x81, 0xFF, 1},
    {0x3200, 0x00, 0xFF, 1},
    {0x3201, 0x00, 0xFF, 1},
    {0x3202, 0x00, 0xFF, 1},
    {0x3203, 0x00, 0xFF, 1},
    {0x3204, 0x0a, 0xFF, 1},
    {0x3205, 0x87, 0xFF, 1},
    {0x3206, 0x05, 0xFF, 1},
    {0x3207, 0xf7, 0xFF, 1},
    {0x3208, 0x0a, 0xFF, 1},
    {0x3209, 0x80, 0xFF, 1},
    {0x320a, 0x05, 0xFF, 1},
    {0x320b, 0xf0, 0xFF, 1},
    {0x320c, 0x05, 0xFF, 1},
    {0x320d, 0xa0, 0xFF, 1},
    {0x320e, 0x0c, 0xFF, 1},
    {0x320f, 0x34, 0xFF, 1},
    {0x3211, 0x04, 0xFF, 1},
    {0x3213, 0x04, 0xFF, 1},
    {0x3220, 0x53, 0xFF, 1},
    {0x3225, 0x02, 0xFF, 1},
    {0x3235, 0x18, 0xFF, 1},
    {0x3236, 0x67, 0xFF, 1},
    {0x3237, 0x02, 0xFF, 1},
    {0x3238, 0x90, 0xFF, 1},
    {0x3250, 0x3f, 0xFF, 1},
    {0x3253, 0x06, 0xFF, 1},
    {0x3273, 0x01, 0xFF, 1},
    {0x3301, 0x30, 0xFF, 1},
    {0x3304, 0x30, 0xFF, 1},
    {0x3306, 0x70, 0xFF, 1},
    {0x3308, 0x10, 0xFF, 1},
    {0x3309, 0x60, 0xFF, 1},
    {0x330b, 0xe0, 0xFF, 1},
    {0x330e, 0x1a, 0xFF, 1},
    {0x3314, 0x94, 0xFF, 1},
    {0x331e, 0x29, 0xFF, 1},
    {0x331f, 0x59, 0xFF, 1},
    {0x3320, 0x09, 0xFF, 1},
    {0x334c, 0x10, 0xFF, 1},
    {0x3352, 0x02, 0xFF, 1},
    {0x3356, 0x1f, 0xFF, 1},
    {0x3363, 0x00, 0xFF, 1},
    {0x3364, 0x1e, 0xFF, 1},
    {0x3366, 0x92, 0xFF, 1},
    {0x336d, 0x01, 0xFF, 1},
    {0x337a, 0x08, 0xFF, 1},
    {0x337b, 0x10, 0xFF, 1},
    {0x337f, 0x2d, 0xFF, 1},
    {0x3390, 0x08, 0xFF, 1},
    {0x3391, 0x08, 0xFF, 1},
    {0x3392, 0x08, 0xFF, 1},
    {0x3393, 0x30, 0xFF, 1},
    {0x3394, 0x30, 0xFF, 1},
    {0x3395, 0x30, 0xFF, 1},
    {0x3399, 0xff, 0xFF, 1},
    {0x33a3, 0x0c, 0xFF, 1},
    {0x33e0, 0xa0, 0xFF, 1},
    {0x33e1, 0x08, 0xFF, 1},
    {0x33e2, 0x00, 0xFF, 1},
    {0x33e3, 0x10, 0xFF, 1},
    {0x33e4, 0x10, 0xFF, 1},
    {0x33e5, 0x00, 0xFF, 1},
    {0x33e6, 0x10, 0xFF, 1},
    {0x33e7, 0x10, 0xFF, 1},
    {0x33e8, 0x00, 0xFF, 1},
    {0x33e9, 0x10, 0xFF, 1},
    {0x33ea, 0x16, 0xFF, 1},
    {0x33eb, 0x00, 0xFF, 1},
    {0x33ec, 0x10, 0xFF, 1},
    {0x33ed, 0x18, 0xFF, 1},
    {0x33ee, 0xa0, 0xFF, 1},
    {0x33ef, 0x08, 0xFF, 1},
    {0x33f4, 0x00, 0xFF, 1},
    {0x33f5, 0x10, 0xFF, 1},
    {0x33f6, 0x10, 0xFF, 1},
    {0x33f7, 0x00, 0xFF, 1},
    {0x33f8, 0x10, 0xFF, 1},
    {0x33f9, 0x10, 0xFF, 1},
    {0x33fa, 0x00, 0xFF, 1},
    {0x33fb, 0x10, 0xFF, 1},
    {0x33fc, 0x16, 0xFF, 1},
    {0x33fd, 0x00, 0xFF, 1},
    {0x33fe, 0x10, 0xFF, 1},
    {0x33ff, 0x18, 0xFF, 1},
    {0x360f, 0x05, 0xFF, 1},
    {0x3622, 0xee, 0xFF, 1},
    {0x3630, 0xa8, 0xFF, 1},
    {0x3631, 0x80, 0xFF, 1},
    {0x3633, 0x43, 0xFF, 1},
    {0x3634, 0x34, 0xFF, 1},
    {0x3635, 0x60, 0xFF, 1},
    {0x3636, 0x20, 0xFF, 1},
    {0x3637, 0x22, 0xFF, 1},
    {0x3638, 0x2a, 0xFF, 1},
    {0x363a, 0x80, 0xFF, 1},
    {0x363b, 0x03, 0xFF, 1},
    {0x3641, 0x00, 0xFF, 1},
    {0x366e, 0x04, 0xFF, 1},
    {0x3670, 0x48, 0xFF, 1},
    {0x3671, 0xee, 0xFF, 1},
    {0x3672, 0x6e, 0xFF, 1},
    {0x3673, 0x6e, 0xFF, 1},
    {0x367a, 0x08, 0xFF, 1},
    {0x367b, 0x08, 0xFF, 1},
    {0x3690, 0x43, 0xFF, 1},
    {0x3691, 0x44, 0xFF, 1},
    {0x3692, 0x44, 0xFF, 1},
    {0x3699, 0x8c, 0xFF, 1},
    {0x369a, 0x96, 0xFF, 1},
    {0x369b, 0x9f, 0xFF, 1},
    {0x369c, 0x08, 0xFF, 1},
    {0x369d, 0x08, 0xFF, 1},
    {0x36a2, 0x08, 0xFF, 1},
    {0x36a3, 0x08, 0xFF, 1},
    {0x36e9, 0x57, 0xFF, 1},
    {0x36ea, 0x67, 0xFF, 1},
    {0x36eb, 0x05, 0xFF, 1},
    {0x36ec, 0x05, 0xFF, 1},
    {0x36ed, 0x04, 0xFF, 1},
    {0x36f9, 0x53, 0xFF, 1},
    {0x36fa, 0x67, 0xFF, 1},
    {0x36fb, 0x09, 0xFF, 1},
    {0x36fc, 0x00, 0xFF, 1},
    {0x36fd, 0x04, 0xFF, 1},
    {0x3902, 0xc5, 0xFF, 1},
    {0x3905, 0x98, 0xFF, 1},
    {0x3908, 0x11, 0xFF, 1},
    {0x391b, 0x80, 0xFF, 1},
    {0x391c, 0x0f, 0xFF, 1},
    {0x3933, 0x28, 0xFF, 1},
    {0x3934, 0x20, 0xFF, 1},
    {0x3940, 0x68, 0xFF, 1},
    {0x3942, 0x08, 0xFF, 1},
    {0x3943, 0x28, 0xFF, 1},
    {0x3980, 0x00, 0xFF, 1},
    {0x3981, 0x00, 0xFF, 1},
    {0x3982, 0x00, 0xFF, 1},
    {0x3983, 0x00, 0xFF, 1},
    {0x3984, 0x00, 0xFF, 1},
    {0x3985, 0x00, 0xFF, 1},
    {0x3986, 0x00, 0xFF, 1},
    {0x3987, 0x00, 0xFF, 1},
    {0x3988, 0x00, 0xFF, 1},
    {0x3989, 0x00, 0xFF, 1},
    {0x398a, 0x00, 0xFF, 1},
    {0x398b, 0x08, 0xFF, 1},
    {0x398c, 0x00, 0xFF, 1},
    {0x398d, 0x10, 0xFF, 1},
    {0x398e, 0x00, 0xFF, 1},
    {0x398f, 0x18, 0xFF, 1},
    {0x3990, 0x00, 0xFF, 1},
    {0x3991, 0x20, 0xFF, 1},
    {0x3992, 0x03, 0xFF, 1},
    {0x3993, 0xd8, 0xFF, 1},
    {0x3994, 0x03, 0xFF, 1},
    {0x3995, 0xe0, 0xFF, 1},
    {0x3996, 0x03, 0xFF, 1},
    {0x3997, 0xf0, 0xFF, 1},
    {0x3998, 0x03, 0xFF, 1},
    {0x3999, 0xf8, 0xFF, 1},
    {0x399a, 0x00, 0xFF, 1},
    {0x399b, 0x00, 0xFF, 1},
    {0x399c, 0x00, 0xFF, 1},
    {0x399d, 0x08, 0xFF, 1},
    {0x399e, 0x00, 0xFF, 1},
    {0x399f, 0x10, 0xFF, 1},
    {0x39a0, 0x00, 0xFF, 1},
    {0x39a1, 0x18, 0xFF, 1},
    {0x39a2, 0x00, 0xFF, 1},
    {0x39a3, 0x28, 0xFF, 1},
    {0x39af, 0x58, 0xFF, 1},
    {0x39b5, 0x30, 0xFF, 1},
    {0x39b6, 0x00, 0xFF, 1},
    {0x39b7, 0x34, 0xFF, 1},
    {0x39b8, 0x00, 0xFF, 1},
    {0x39b9, 0x00, 0xFF, 1},
    {0x39ba, 0x34, 0xFF, 1},
    {0x39bb, 0x00, 0xFF, 1},
    {0x39bc, 0x00, 0xFF, 1},
    {0x39bd, 0x00, 0xFF, 1},
    {0x39be, 0x00, 0xFF, 1},
    {0x39bf, 0x00, 0xFF, 1},
    {0x39c0, 0x00, 0xFF, 1},
    {0x39c1, 0x00, 0xFF, 1},
    {0x39c5, 0x21, 0xFF, 1},
    {0x39c8, 0x00, 0xFF, 1},
    {0x39db, 0x20, 0xFF, 1},
    {0x39dc, 0x00, 0xFF, 1},
    {0x39de, 0x20, 0xFF, 1},
    {0x39df, 0x00, 0xFF, 1},
    {0x39e0, 0x00, 0xFF, 1},
    {0x39e1, 0x00, 0xFF, 1},
    {0x39e2, 0x00, 0xFF, 1},
    {0x39e3, 0x00, 0xFF, 1},
    {0x39e8, 0x03, 0xFF, 1},
    {0x3e00, 0x01, 0xFF, 1},
    {0x3e01, 0x6e, 0xFF, 1},
    {0x3e02, 0xe0, 0xFF, 1},
    {0x3e03, 0x0b, 0xFF, 1},
    {0x3e04, 0x16, 0xFF, 1},
    {0x3e05, 0x00, 0xFF, 1},
    {0x3e06, 0x00, 0xFF, 1},
    {0x3e07, 0x80, 0xFF, 1},
    {0x3e08, 0x03, 0xFF, 1},
    {0x3e09, 0x40, 0xFF, 1},
    {0x3e10, 0x00, 0xFF, 1},
    {0x3e11, 0x80, 0xFF, 1},
    {0x3e12, 0x03, 0xFF, 1},
    {0x3e13, 0x40, 0xFF, 1},
    {0x3e14, 0xb1, 0xFF, 1},
    {0x3e23, 0x00, 0xFF, 1},
    {0x3e24, 0xb6, 0xFF, 1},
    {0x3e25, 0x03, 0xFF, 1},
    {0x3e26, 0x40, 0xFF, 1},
    {0x4500, 0x08, 0xFF, 1},
    {0x4501, 0xa4, 0xFF, 1},
    {0x4509, 0x10, 0xFF, 1},
    {0x4816, 0x51, 0xFF, 1},
    {0x4837, 0x0e, 0xFF, 1},
    {0x5784, 0x10, 0xFF, 1},
    {0x5785, 0x08, 0xFF, 1},
    {0x5787, 0x06, 0xFF, 1},
    {0x5788, 0x06, 0xFF, 1},
    {0x5789, 0x00, 0xFF, 1},
    {0x578a, 0x06, 0xFF, 1},
    {0x578b, 0x06, 0xFF, 1},
    {0x578c, 0x00, 0xFF, 1},
    {0x5790, 0x10, 0xFF, 1},
    {0x5791, 0x10, 0xFF, 1},
    {0x5792, 0x00, 0xFF, 1},
    {0x5793, 0x10, 0xFF, 1},
    {0x5794, 0x10, 0xFF, 1},
    {0x5795, 0x00, 0xFF, 1},
    {0x57c4, 0x10, 0xFF, 1},
    {0x57c5, 0x08, 0xFF, 1},
    {0x57c7, 0x06, 0xFF, 1},
    {0x57c8, 0x06, 0xFF, 1},
    {0x57c9, 0x00, 0xFF, 1},
    {0x57ca, 0x06, 0xFF, 1},
    {0x57cb, 0x06, 0xFF, 1},
    {0x57cc, 0x00, 0xFF, 1},
    {0x57d0, 0x10, 0xFF, 1},
    {0x57d1, 0x10, 0xFF, 1},
    {0x57d2, 0x00, 0xFF, 1},
    {0x57d3, 0x10, 0xFF, 1},
    {0x57d4, 0x10, 0xFF, 1},
    {0x57d5, 0x00, 0xFF, 1},

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t wdr_2688_1520_30fps_675Mbps_4lane_10bits[] = {
    {0x0103, 0x01, 0xFF, 1},
    {0x0100, 0x00, 0xFF, 1},
    {0x36e9, 0x80, 0xFF, 1},
    {0x36f9, 0x80, 0xFF, 1},
    {0x3018, 0x73, 0xFF, 1},
    {0x301f, 0x07, 0xFF, 1},
    {0x3031, 0x0a, 0xFF, 1},
    {0x3037, 0x20, 0xFF, 1},
    {0x3038, 0x22, 0xFF, 1},
    {0x3106, 0x81, 0xFF, 1},
    {0x3200, 0x00, 0xFF, 1},
    {0x3201, 0x00, 0xFF, 1},
    {0x3202, 0x00, 0xFF, 1},
    {0x3203, 0x00, 0xFF, 1},
    {0x3204, 0x0a, 0xFF, 1},
    {0x3205, 0x87, 0xFF, 1},
    {0x3206, 0x05, 0xFF, 1},
    {0x3207, 0xf7, 0xFF, 1},
    {0x3208, 0x0a, 0xFF, 1},
    {0x3209, 0x80, 0xFF, 1},
    {0x320a, 0x05, 0xFF, 1},
    {0x320b, 0xf0, 0xFF, 1},
    {0x320c, 0x05, 0xFF, 1},
    {0x320d, 0xa0, 0xFF, 1},
    {0x320e, 0x0c, 0xFF, 1},
    {0x320f, 0x34, 0xFF, 1},
    {0x3211, 0x04, 0xFF, 1},
    {0x3213, 0x04, 0xFF, 1},
    {0x3220, 0x53, 0xFF, 1},
    {0x3225, 0x02, 0xFF, 1},
    {0x3235, 0x18, 0xFF, 1},
    {0x3236, 0x67, 0xFF, 1},
    {0x3237, 0x02, 0xFF, 1},
    {0x3238, 0x90, 0xFF, 1},
    {0x3250, 0x3f, 0xFF, 1},
    {0x3253, 0x06, 0xFF, 1},
    {0x3273, 0x01, 0xFF, 1},
    {0x3301, 0x30, 0xFF, 1},
    {0x3304, 0x30, 0xFF, 1},
    {0x3306, 0x70, 0xFF, 1},
    {0x3308, 0x10, 0xFF, 1},
    {0x3309, 0x60, 0xFF, 1},
    {0x330b, 0xe0, 0xFF, 1},
    {0x330e, 0x1a, 0xFF, 1},
    {0x3314, 0x94, 0xFF, 1},
    {0x331e, 0x29, 0xFF, 1},
    {0x331f, 0x59, 0xFF, 1},
    {0x3320, 0x09, 0xFF, 1},
    {0x334c, 0x10, 0xFF, 1},
    {0x3352, 0x02, 0xFF, 1},
    {0x3356, 0x1f, 0xFF, 1},
    {0x3363, 0x00, 0xFF, 1},
    {0x3364, 0x1e, 0xFF, 1},
    {0x3366, 0x92, 0xFF, 1},
    {0x336d, 0x01, 0xFF, 1},
    {0x337a, 0x08, 0xFF, 1},
    {0x337b, 0x10, 0xFF, 1},
    {0x337f, 0x2d, 0xFF, 1},
    {0x3390, 0x08, 0xFF, 1},
    {0x3391, 0x08, 0xFF, 1},
    {0x3392, 0x08, 0xFF, 1},
    {0x3393, 0x30, 0xFF, 1},
    {0x3394, 0x30, 0xFF, 1},
    {0x3395, 0x30, 0xFF, 1},
    {0x3399, 0xff, 0xFF, 1},
    {0x33a3, 0x0c, 0xFF, 1},
    {0x33e0, 0xa0, 0xFF, 1},
    {0x33e1, 0x08, 0xFF, 1},
    {0x33e2, 0x00, 0xFF, 1},
    {0x33e3, 0x10, 0xFF, 1},
    {0x33e4, 0x10, 0xFF, 1},
    {0x33e5, 0x00, 0xFF, 1},
    {0x33e6, 0x10, 0xFF, 1},
    {0x33e7, 0x10, 0xFF, 1},
    {0x33e8, 0x00, 0xFF, 1},
    {0x33e9, 0x10, 0xFF, 1},
    {0x33ea, 0x16, 0xFF, 1},
    {0x33eb, 0x00, 0xFF, 1},
    {0x33ec, 0x10, 0xFF, 1},
    {0x33ed, 0x18, 0xFF, 1},
    {0x33ee, 0xa0, 0xFF, 1},
    {0x33ef, 0x08, 0xFF, 1},
    {0x33f4, 0x00, 0xFF, 1},
    {0x33f5, 0x10, 0xFF, 1},
    {0x33f6, 0x10, 0xFF, 1},
    {0x33f7, 0x00, 0xFF, 1},
    {0x33f8, 0x10, 0xFF, 1},
    {0x33f9, 0x10, 0xFF, 1},
    {0x33fa, 0x00, 0xFF, 1},
    {0x33fb, 0x10, 0xFF, 1},
    {0x33fc, 0x16, 0xFF, 1},
    {0x33fd, 0x00, 0xFF, 1},
    {0x33fe, 0x10, 0xFF, 1},
    {0x33ff, 0x18, 0xFF, 1},
    {0x360f, 0x05, 0xFF, 1},
    {0x3622, 0xee, 0xFF, 1},
    {0x3630, 0xa8, 0xFF, 1},
    {0x3631, 0x80, 0xFF, 1},
    {0x3633, 0x43, 0xFF, 1},
    {0x3634, 0x34, 0xFF, 1},
    {0x3635, 0x60, 0xFF, 1},
    {0x3636, 0x20, 0xFF, 1},
    {0x3637, 0x22, 0xFF, 1},
    {0x3638, 0x2a, 0xFF, 1},
    {0x363a, 0x80, 0xFF, 1},
    {0x363b, 0x03, 0xFF, 1},
    {0x3641, 0x00, 0xFF, 1},
    {0x366e, 0x04, 0xFF, 1},
    {0x3670, 0x48, 0xFF, 1},
    {0x3671, 0xee, 0xFF, 1},
    {0x3672, 0x6e, 0xFF, 1},
    {0x3673, 0x6e, 0xFF, 1},
    {0x367a, 0x08, 0xFF, 1},
    {0x367b, 0x08, 0xFF, 1},
    {0x3690, 0x43, 0xFF, 1},
    {0x3691, 0x44, 0xFF, 1},
    {0x3692, 0x44, 0xFF, 1},
    {0x3699, 0x8c, 0xFF, 1},
    {0x369a, 0x96, 0xFF, 1},
    {0x369b, 0x9f, 0xFF, 1},
    {0x369c, 0x08, 0xFF, 1},
    {0x369d, 0x08, 0xFF, 1},
    {0x36a2, 0x08, 0xFF, 1},
    {0x36a3, 0x08, 0xFF, 1},
    {0x36ea, 0x67, 0xFF, 1},
    {0x36eb, 0x04, 0xFF, 1},
    {0x36ec, 0x05, 0xFF, 1},
    {0x36ed, 0x04, 0xFF, 1},
    {0x36fa, 0x67, 0xFF, 1},
    {0x36fb, 0x09, 0xFF, 1},
    {0x36fc, 0x00, 0xFF, 1},
    {0x36fd, 0x04, 0xFF, 1},
    {0x3902, 0xc5, 0xFF, 1},
    {0x3905, 0x98, 0xFF, 1},
    {0x3908, 0x11, 0xFF, 1},
    {0x391b, 0x80, 0xFF, 1},
    {0x391c, 0x0f, 0xFF, 1},
    {0x3933, 0x28, 0xFF, 1},
    {0x3934, 0x20, 0xFF, 1},
    {0x3940, 0x68, 0xFF, 1},
    {0x3942, 0x08, 0xFF, 1},
    {0x3943, 0x28, 0xFF, 1},
    {0x3980, 0x00, 0xFF, 1},
    {0x3981, 0x00, 0xFF, 1},
    {0x3982, 0x00, 0xFF, 1},
    {0x3983, 0x00, 0xFF, 1},
    {0x3984, 0x00, 0xFF, 1},
    {0x3985, 0x00, 0xFF, 1},
    {0x3986, 0x00, 0xFF, 1},
    {0x3987, 0x00, 0xFF, 1},
    {0x3988, 0x00, 0xFF, 1},
    {0x3989, 0x00, 0xFF, 1},
    {0x398a, 0x00, 0xFF, 1},
    {0x398b, 0x08, 0xFF, 1},
    {0x398c, 0x00, 0xFF, 1},
    {0x398d, 0x10, 0xFF, 1},
    {0x398e, 0x00, 0xFF, 1},
    {0x398f, 0x18, 0xFF, 1},
    {0x3990, 0x00, 0xFF, 1},
    {0x3991, 0x20, 0xFF, 1},
    {0x3992, 0x03, 0xFF, 1},
    {0x3993, 0xd8, 0xFF, 1},
    {0x3994, 0x03, 0xFF, 1},
    {0x3995, 0xe0, 0xFF, 1},
    {0x3996, 0x03, 0xFF, 1},
    {0x3997, 0xf0, 0xFF, 1},
    {0x3998, 0x03, 0xFF, 1},
    {0x3999, 0xf8, 0xFF, 1},
    {0x399a, 0x00, 0xFF, 1},
    {0x399b, 0x00, 0xFF, 1},
    {0x399c, 0x00, 0xFF, 1},
    {0x399d, 0x08, 0xFF, 1},
    {0x399e, 0x00, 0xFF, 1},
    {0x399f, 0x10, 0xFF, 1},
    {0x39a0, 0x00, 0xFF, 1},
    {0x39a1, 0x18, 0xFF, 1},
    {0x39a2, 0x00, 0xFF, 1},
    {0x39a3, 0x28, 0xFF, 1},
    {0x39af, 0x58, 0xFF, 1},
    {0x39b5, 0x30, 0xFF, 1},
    {0x39b6, 0x00, 0xFF, 1},
    {0x39b7, 0x34, 0xFF, 1},
    {0x39b8, 0x00, 0xFF, 1},
    {0x39b9, 0x00, 0xFF, 1},
    {0x39ba, 0x34, 0xFF, 1},
    {0x39bb, 0x00, 0xFF, 1},
    {0x39bc, 0x00, 0xFF, 1},
    {0x39bd, 0x00, 0xFF, 1},
    {0x39be, 0x00, 0xFF, 1},
    {0x39bf, 0x00, 0xFF, 1},
    {0x39c0, 0x00, 0xFF, 1},
    {0x39c1, 0x00, 0xFF, 1},
    {0x39c5, 0x21, 0xFF, 1},
    {0x39c8, 0x00, 0xFF, 1},
    {0x39db, 0x20, 0xFF, 1},
    {0x39dc, 0x00, 0xFF, 1},
    {0x39de, 0x20, 0xFF, 1},
    {0x39df, 0x00, 0xFF, 1},
    {0x39e0, 0x00, 0xFF, 1},
    {0x39e1, 0x00, 0xFF, 1},
    {0x39e2, 0x00, 0xFF, 1},
    {0x39e3, 0x00, 0xFF, 1},
    {0x39e8, 0x03, 0xFF, 1},
    {0x3e00, 0x01, 0xFF, 1},
    {0x3e01, 0x6e, 0xFF, 1},
    {0x3e02, 0xe0, 0xFF, 1},
    {0x3e03, 0x0b, 0xFF, 1},
    {0x3e04, 0x16, 0xFF, 1},
    {0x3e05, 0x00, 0xFF, 1},
    {0x3e06, 0x00, 0xFF, 1},
    {0x3e07, 0x80, 0xFF, 1},
    {0x3e08, 0x03, 0xFF, 1},
    {0x3e09, 0x40, 0xFF, 1},
    {0x3e10, 0x00, 0xFF, 1},
    {0x3e11, 0x80, 0xFF, 1},
    {0x3e12, 0x03, 0xFF, 1},
    {0x3e13, 0x40, 0xFF, 1},
    {0x3e14, 0xb1, 0xFF, 1},
    {0x3e23, 0x00, 0xFF, 1},
    {0x3e24, 0xb6, 0xFF, 1},
    {0x3e25, 0x03, 0xFF, 1},
    {0x3e26, 0x40, 0xFF, 1},
    {0x4500, 0x08, 0xFF, 1},
    {0x4501, 0xa4, 0xFF, 1},
    {0x4509, 0x10, 0xFF, 1},
    {0x4816, 0x51, 0xFF, 1},
    {0x4837, 0x1d, 0xFF, 1},
    {0x5784, 0x10, 0xFF, 1},
    {0x5785, 0x08, 0xFF, 1},
    {0x5787, 0x06, 0xFF, 1},
    {0x5788, 0x06, 0xFF, 1},
    {0x5789, 0x00, 0xFF, 1},
    {0x578a, 0x06, 0xFF, 1},
    {0x578b, 0x06, 0xFF, 1},
    {0x578c, 0x00, 0xFF, 1},
    {0x5790, 0x10, 0xFF, 1},
    {0x5791, 0x10, 0xFF, 1},
    {0x5792, 0x00, 0xFF, 1},
    {0x5793, 0x10, 0xFF, 1},
    {0x5794, 0x10, 0xFF, 1},
    {0x5795, 0x00, 0xFF, 1},
    {0x57c4, 0x10, 0xFF, 1},
    {0x57c5, 0x08, 0xFF, 1},
    {0x57c7, 0x06, 0xFF, 1},
    {0x57c8, 0x06, 0xFF, 1},
    {0x57c9, 0x00, 0xFF, 1},
    {0x57ca, 0x06, 0xFF, 1},
    {0x57cb, 0x06, 0xFF, 1},
    {0x57cc, 0x00, 0xFF, 1},
    {0x57d0, 0x10, 0xFF, 1},
    {0x57d1, 0x10, 0xFF, 1},
    {0x57d2, 0x00, 0xFF, 1},
    {0x57d3, 0x10, 0xFF, 1},
    {0x57d4, 0x10, 0xFF, 1},
    {0x57d5, 0x00, 0xFF, 1},
    {0x36e9, 0x53, 0xFF, 1},
    {0x36f9, 0x53, 0xFF, 1},

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};


static acam_reg_t settings_context_sc4238[] = {
    //stop sequence - address is 0x0000
    { 0x0000, 0x0000, 0x0000, 0x0000 }
};

static const acam_reg_t *sc4238_seq_table[] = {
        linear_2688_1520_30fps_675Mbps_2lane_10bits,
        wdr_2688_1520_30fps_1350Mbps_2lane_10bits,
        wdr_2688_1520_30fps_675Mbps_4lane_10bits,
};

static const acam_reg_t *isp_seq_table[] = {
        settings_context_sc4238,
};

#define SENSOR_SC4238_SEQUENCE_DEFAULT sc4238_seq_table
#define SENSOR_SC4238_ISP_CONTEXT_SEQUENCE isp_seq_table

#define SENSOR_SC4238_SEQUENCE_2688_1520_30FPS_10BIT_2LANE  0
#define SENSOR_SC4238_SEQUENCE_2688_1520_30FPS_10BIT_2LANE_WDR  1
#define SENSOR_SC4238_SEQUENCE_2688_1520_30FPS_10BIT_4LANE_WDR  2


#define SENSOR_SC4238_CONTEXT_SEQ  0

#endif // __SC4238_SEQ_H__
